package com.jjb.www.http.api;

import com.hjq.http.config.IRequestApi;

/**
 * author : lkw
 * time   : 2021/09/24
 * desc   : 获取个人信息
 */
public final class GetUserInfoApi implements IRequestApi {

    @Override
    public String getApi() {
        return "user-server/user/getVideoVipUserByCode";
    }


    public final static class Bean {

        private String phoneNumber;
        private int userId;
        private String nickName;
        private String realName;
        private String avatarImg;
        private int sex;
        //用户是否实名 0=未实名 1 实名 2 审核中 3 审核失败
        private int realNameStatus;
        private String idCard;
        //微信绑定标志 true 绑定 false 未绑定
        private boolean flag;
        //是否为视频会员：true=是，false=不是
        private boolean isVip;
        //视频会员有效日期（yyyy-MM-dd）
        private String endTime;

        public void setPhoneNumber(String phoneNumber) {
            this.phoneNumber = phoneNumber;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public void setRealName(String realName) {
            this.realName = realName;
        }

        public void setAvatarImg(String avatarImg) {
            this.avatarImg = avatarImg;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public void setRealNameStatus(int realNameStatus) {
            this.realNameStatus = realNameStatus;
        }

        public void setIdCard(String idCard) {
            this.idCard = idCard;
        }

        public void setFlag(boolean flag) {
            this.flag = flag;
        }

        public String getPhoneNumber() {
            return phoneNumber;
        }

        public int getUserId() {
            return userId;
        }

        public String getNickName() {
            return nickName;
        }

        public String getRealName() {
            return realName;
        }

        public String getAvatarImg() {
            return avatarImg;
        }

        public int getSex() {
            return sex;
        }

        public int getRealNameStatus() {
            //用户是否实名 0=未实名 1 实名 2 审核中 3 审核失败
            return realNameStatus;
        }

        public String getIdCard() {
            return idCard;
        }

        public boolean isFlag() {
            return flag;
        }

        public boolean isVip() {
            return isVip;
        }

        public void setVip(boolean vip) {
            isVip = vip;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }
    }
}